package com.gx.spring.cloud.eureka.feign.eurekaconsumerfeign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by gx
 * Date: 2017-08-30
 * Time: 22:24
 */
@FeignClient("eureka-client") //绑定eureka-client服务
public interface DcClient {
    @GetMapping("/dc")///dc接口的例子
    String consumer();

}
